package lacus.wd_cinema.dto.tickets;

import lacus.wd_cinema.entity.Ticket;
import lombok.Data;

@Data
public class TicketBuyResponse {
    private String id;

    public static TicketBuyResponse from(Ticket ticket) {
        TicketBuyResponse response = new TicketBuyResponse();
        response.setId(ticket.getId());
        return response;
    }
}
